﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Windows.Forms.LinkLabel;

namespace 天离安全_Mssql渗透系统.Api
{
    public class T_Mssql_Excel
    {
        /// <summary>
        /// 公共参数
        /// </summary>
        public static string E1 {  get; set; }
        /// <summary>
        /// 需要执行的sql命令
        /// </summary>
        public static string Esql {  get; set; }
        /// <summary>
        ///  传输磁盘分区
        /// </summary>
        public static string Code {  get; set; }
        /// <summary>
        /// 执行命令后输出结果
        /// </summary>
        public static StringBuilder Info {  get; set; } = new StringBuilder();
        /// <summary>
        /// 文件路径
        /// </summary>
        public static string Path { get; set; }
        /// <summary>
        /// 文件名称
        /// </summary>
        public static string Name { get; set; }
        /// <summary>
        /// 传出webshell的上传路径及webshell的名称
        /// </summary>
        public static string ShellPath { get; set; }
        /// <summary>
        /// 将webshell进行传出，可变字符
        /// </summary>
        public static string Webshell {  get; set; }
        /// <summary>
        /// 默认一句话web
        /// </summary>
        public static string Webshell_id {  get; set; }
        /// <summary>
        /// 下载文件的数据
        /// </summary>
        public static StringBuilder FileStatic { get; set; }
        /// <summary>
        /// 存储sql连接
        /// </summary>
        public static SqlConnection Connection { get; set; }
    }
}
